import request from '@/utils/request'

// 查询农家美食详情列列表
export function listShop_introduction(query) {
    return request({
        url: '/view/shop_introduction/list',
        method: 'get',
        params: query
    })
}

// 查询农家美食详情列详细
export function getShop_introduction(id) {
    return request({
        url: '/view/shop_introduction/info',
        method: 'get',
        params: { id: id }
    })
}

// 新增农家美食详情列
export function addShop_introduction(data) {
    return request({
        url: '/view/shop_introduction',
        method: 'post',
        data: data
    })
}

// 修改农家美食详情列
export function updateShop_introduction(data) {
    return request({
        url: '/view/shop_introduction',
        method: 'put',
        data: data
    })
}

// 删除农家美食详情列
export function delShop_introduction(id) {
    return request({
        url: '/view/shop_introduction/' + id,
        method: 'delete'
    })
}

// 导出农家美食详情列
export function exportShop_introduction(query) {
    return request({
        url: '/view/shop_introduction/export',
        method: 'get',
        params: query
    })
}